#coding:utf-8
"""
*   Coder : Dzlua
*   Email : 505544956@qq.com
*   Time  : 2017/08/28
"""

#---------------------------#

from database import *

#---------------------------#
class Spider:
    def __init__(self, database = DataBase()):
        self.__db = database
    def connect(self, host, db, user, pwd):
        return self.__db.connect(host, db, user, pwd)
#---------------------------#
#---------------------------#